package test4

class Camera(n:String) {
  var brand=n;
  def takePhoto(): Unit ={
    println(brand+"相机在拍照")
  }
}
